package com.wyg.demo.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;
import java.util.Objects;

/**
 * @author ygWen
 * @Description: excel操作实体类
 * @date 2021/12/31
 */
@Data
public class ExcelData {
    @ExcelProperty("字符串标题")
    private String string;
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ExcelProperty("日期标题")
    private Date date;
    @ExcelProperty("数字标题")
    private Double doubleData;
}
